home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Auge 4000
/
Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).zip
/
Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).adf
/
arp-pro1.3
/
OLD_MANUAL
/
CloseWindowSafely
< prev
next >
Wrap
Text File
|
1990-06-22
|
917b
|
67 lines
CloseWindowSafely(31.0) ARP Prog_Man CloseWindowSafely(31.0)
NAME
CloseWindowSafely - close a window without GURUing.
SYNOPSIS
CloseWindowSafely( window, morewindows )
A0 A1
FUNCTION
This function locates any messages queued to the window
message port, and returns them to the sender. It then
closes the window. This is necessary for windows which
share a common IDCMP, otherwise GURU's are likely to occur.
If morewindows is NULL, then the msgport is freed also.
INPUTS
window - window to close
morewindows - If NULL, the msgport for this window will be
released.
RESULTS
None.
BUGS
This function will GURU if called to close a window which
was opened with the IDCMPFLags variable of the NewWindow
structure set to NULL.
Author
CDH
Page 1 (printed 2/22/88)